package com.free.viewmover;

import android.graphics.Canvas;

public class TranslateMoveItem implements AniItem
{
	public float transDeltaX;
	public float transDeltaY;
	
	public void applyAni(Canvas canvas)
	{
		canvas.translate(transDeltaX, transDeltaY);
	}
	
	public AniItem clone()
	{
		try
		{
			return (AniItem) super.clone();
		}
		catch( CloneNotSupportedException e )
		{
			return null;
		}
	}
}
